Cavern

 Cavern4D

 Cavernize

 Debug

 FilterInterfaces

 Filters

 Format

 Helpers

 QuickEQ

 Remapping

 SpecialSources

 Spoofer

 Utilities

  ArrayExtensions

  CavernAmp

  ChannelExtensions

  ColorUtils

  Complex

  ComplexArray

  FFTCache

  IComparable

  IEquatable

  IEquatable

  Linked

  ListExtensions

  Measurements

  RenderStats

  Resample

  RunningChannelSeparator

  ThreadSafeFFTCache

  Tunneler

  VectorExtensions

  MapToCube(this Vector3)

  Normalized(this Vector3)

  PlaceInCube(this Vector3)

  PlaceInSphere(this Vector3)

  PlaceNormalOnRoom(this Vector3)

  PlaceOnRoom(this Vector3)

  RotateInverse(this Vector3, Vector3)

  WarpNormalToCube(this Vector3)

  WarpToCube(this Vector3)

  VectorUtils

  WaveformUtils

  WindowBase

 Virtualizer

 Atmosphere

 AudioClip3D

 AudioListener3D

 AudioListener3DInspector

 AudioSource3D

 CavernizeRealtime

 Channel

 Clip

 Environments

 Jack

 Listener

 QualityModes

 Rolloffs

 SeatAdaptation

 Source

class VectorExtensions

Extra vector calculations.
VisibilityPublic
Modifiersstatic

Public static functions

Vector3 MapToCube(this Vector3 vector)Returns a vector that's the same direction as the source vector, but it's on the side of a 2x2x2 cube.
Vector3 Normalized(this Vector3 vector) Returns a vector that's the same direction as the source vector, but has a length of 1.
Vector3 PlaceInCube(this Vector3 angles)For given angles (in degrees) it returns a vector for that position on a cube with the side length of 2.
Vector3 PlaceInSphere(this Vector3 angles)For given angles (in degrees) it returns a vector for that position on a sphere with the radius of 1.
Vector3 PlaceNormalOnRoom(this Vector3 normal)Converts a normalized direction vector to the normalized shape of the room.
To get the actual wall position, scale with Listener.EnvironmentSize.
Vector3 PlaceOnRoom(this Vector3 angles)Depending on the room shape (spherical or cube), returns the position on the normalized shape.
To get the actual wall position, scale with Listener.EnvironmentSize.
Vector3 RotateInverse(this Vector3 vector, Vector3 angles)Rotate this vector by all axes in the opposite direction.
Vector3 WarpNormalToCube(this Vector3 vector)Warps the points of a normalized sphere to points a cube. Requires the length of the vector to be 1.
Vector3 WarpToCube(this Vector3 vector)Warps the points of a sphere to points a cube.